<?php
echo '<?xml version="1.0" encoding="UTF-8" ?>' . PHP_EOL;
echo $this->doctype('XHTML1_STRICT') . PHP_EOL;?>
<html>
<head>
<?php
// setting content type and character set
$this->headMeta()->appendHttpEquiv('Content-Language', 'es-mx');
// add a link to the style sheet
$this->headLink()->appendStylesheet('/admin/css/reset.css')
					->appendStylesheet('/admin/css/960.css')
					->appendStylesheet('/admin/css/icons.css')
					->appendStylesheet('/admin/css/tipsy.css')
					->appendStylesheet('/admin/css/formalize.css')
					->appendStylesheet('/admin/css/prettyPhoto.css')
					->appendStylesheet('/admin/css/jquery-ui-1.8.18.custom.css')
					->appendStylesheet('/admin/css/chosen.css')
					->appendStylesheet('/admin/css/ui.spinner.css')
					->appendStylesheet('/admin/css/fullcalendar.css')
					->appendStylesheet('/admin/css/jquery.miniColors.css')
					->appendStylesheet('/admin/css/elrte.min.css')
					->appendStylesheet('/admin/css/elfinder.css')
					->appendStylesheet('/admin/css/main.css');
$this->headLink(array('rel' => 'shortcut icon', 'href' => '/favicon.ico', 'type' => 'image/x-icon'));

$this->headScript()->prependFile('/admin/js/main.js')
					->prependFile('/admin/js/jquery.metadata.js')
					->prependFile('/admin/js/jquery.validate.min.js')
					->prependFile('/admin/js/elfinder.min.js')
					->prependFile('/admin/js/elrte.min.js')
					->prependFile('/admin/js/jquery-ui-timepicker-addon.js')
					->prependFile('/admin/js/jquery.maskedinput-1.3.min.js')
					->prependFile('/admin/js/jquery.miniColors.min.js')					
					->prependFile('/admin/js/fullcalendar.min.js')
					->prependFile('/admin/js/jquery.path.js')
					->prependFile('/admin/js/jquery.loading.js')
					->prependFile('/admin/js/ui.spinner.min.js')
					->prependFile('/admin/js/ui.checkBox.js')
					->prependFile('/admin/js/chosen.jquery.min.js')
					->prependFile('/admin/js/jquery.fileinput.js')
					->prependFile('/admin/js/jquery.easing.1.3.js')
					->prependFile('/admin/js/jquery.autogrowtextarea.js')
					->prependFile('/admin/js/jquery.prettyPhoto.js')
					->prependFile('/admin/js/jquery.dataTables.min.js')
					->prependFile('/admin/js/prefixfree.min.js')
					->prependFile('/admin/js/jquery.modal.js')
					->prependFile('/admin/js/jquery.formalize.min.js')
					->prependFile('/admin/js/jquery.tipsy.js')
					->prependFile('/admin/js/jquery-ui-1.8.18.custom.min.js')
					->prependFile('/admin/js/jquery.js');

echo $this->headTitle() . PHP_EOL;
echo $this->headMeta() . PHP_EOL;
echo $this->headLink() . PHP_EOL;
echo $this->headScript() . PHP_EOL;

?>
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-31849913-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
</head>
<body>

<?php echo $this->layout()->content; ?>

<footer>
    <div class="container_12" style="text-align:center;">
        <p>&copy;  2012 - Alejandro L&oacute;pez Caballero<!-- - Desarrollado por: <a href="http://www.flixtech.com" target="_blank">Flixtech</a> --></p>
    </div>
</footer>

</body>
</html>